package org.linlinjava.litemall.admin.vo.online_service;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/10 14:12
 */
public class DoctorListVo {

    private ServiceCity address;

    private String keyword;

    @NotNull(message = "页码不能为空")
    @DecimalMin(value = "1",message = "页码不能小于0")
    private Integer page;

    @NotNull(message = "每页条数不能为空")
    @DecimalMin(value = "0",message = "每页条数不能小于0")
    private Integer limit;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    private Integer deptId;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public ServiceCity getAddress() {
        return address;
    }

    public void setAddress(ServiceCity address) {
        this.address = address;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
